package com.dao.secondary.device;
import com.model.domain.device.GetDeviceObdGpsInfoDO;
import com.model.domain.device.GetDevicePmdWorkRecordDetailInfoDO;
import com.model.pojo.device.DevicePmdWorkRecordDetailInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface DevicePmdWorkRecordDetailInfoMapper {
    int deleteByPrimaryKey(@Param("devicePmdWorkRecordDetailInfoId") Long devicePmdWorkRecordDetailInfoId);

    int insert(DevicePmdWorkRecordDetailInfo record);

    int insertSelective(DevicePmdWorkRecordDetailInfo record);

    DevicePmdWorkRecordDetailInfo selectByPrimaryKey(@Param("devicePmdWorkRecordDetailInfoId") Long devicePmdWorkRecordDetailInfoId, @Param("isDelete") Byte isDelete);

    int updateByPrimaryKeySelective(DevicePmdWorkRecordDetailInfo record);

    int updateByPrimaryKey(DevicePmdWorkRecordDetailInfo record);

    List<DevicePmdWorkRecordDetailInfo> selectList(GetDevicePmdWorkRecordDetailInfoDO getdevicePmdWorkRecordDetailInfoDO);
    List<Map<String,Object>> selectListGroupBy(@Param("workDate") Date workDate);
    void insertListSelective(List<DevicePmdWorkRecordDetailInfo> devicePmdWorkRecordDetailInfoList);

    void updateListSelective(List<DevicePmdWorkRecordDetailInfo> devicePmdWorkRecordDetailInfoList);

    int has(@Param("devicePmdWorkRecordDetailInfoId") Long devicePmdWorkRecordDetailInfoId, @Param("isDelete") Byte isDelete);
}